package testmybatis.springmybatis;

import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Description 模拟MapperScan
 * @Author dangxianyue
 * @Date 2024/3/27 21:47
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
// @Import(MyMapperScannerRegistrarV1.class)
@Import(MyMapperScannerRegistrarV2.class)
public @interface MyMapperScan {

    String value() default "";
}
